<!DOCTYPE html>
<html lang="en">
<head>
<base href="<?php echo RESOURCE_URL?>"/>
	<meta charset="utf-8">
	<title>Login Page</title>

	
</head>

<body background="daliadalia.jpg">

<span><h1></h1></span>
<br><br>

<style>
body{
	font-family: 'Oleo Script', cursive;
}

.lg-dalia{
	width:275px;
	margin:0px auto;
	padding:20px 40px;
	border:1px solid #f4f4f4;
	background:rgba(255,255,255,.5);
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	
	-webkit-box-shadow: 0 0 2px #aaa;
	-moz-box-shadow: 0 0 2px #aaa;
	box-shadow: 0 0 2px #aaa;
}
.lg-dalia h1{
	font-size:40px;
	text-align:center;
}
#lg-dalia1 > div {
	margin:10px 5px;
	padding:5px 0;
}
#lg-dalia1 label{
	display: none;
	font-size: 20px;
	line-height: 25px;
}
#lg-dalia1 input[type="text"],
#lg-dalia1 input[type="password"]{
	border:1px solid rgba(51,51,51,.5);
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	padding: 5px;
	font-size: 16px;
	line-height: 20px;
	width: 100%;
	font-family: 'Oleo Script', cursive;
	text-align:center;
}
#lg-dalia1 div:nth-child(3) {
	text-align:center;
}
#lg-dalia1 button{
	font-family: 'Oleo Script', cursive;
	font-size: 18px;
	border:1px solid #000;
	padding:5px 10px;
	border:1px solid rgba(51,51,51,.5);
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	
	-webkit-box-shadow: 2px 1px 1px #aaa;
	-moz-box-shadow: 2px 1px 1px #aaa;
	box-shadow: 2px 1px 1px #aaa;
	cursor:pointer;
}
#lg-dalia1 button:active{
	-webkit-box-shadow: 0px 0px 1px #aaa;
	-moz-box-shadow: 0px 0px 1px #aaa;
	box-shadow: 0px 0px 1px #aaa;
}
#lg-dalia1 button:hover{
	background:#f4f4f4;
}
#message{width:100%;text-align:center}
.success {
	color: green;
}
.error {
	color: red;
}


</style>
<img src="logo2.png" alt="logo" width="100" height="93" id="logo" />
<div class="lg-dalia">
		
		<h1>Admin Area</h1>
		<form action="../index.php/user/log" id="lg-dalia1" name="lg-form" method="post">
			
			<div>
				<input type="text" name="username" id="username" placeholder="Username"/>
			</div>
			
			<div>
				<input type="password" name="password" id="password" placeholder="Password" />
			</div>
			
			<div>				
				<button type="submit" id="login">Login</button>
			</div>
	
		</form>
		<div id="message"><span style="color:#000"><?php echo $error;?></span></div>
	</div>
<br>
<br>
</body>
</html>